var productIndex = function () {
    return {
        //Revolution Slider
        init: function () {
            $('#js-grid-full-width').cubeportfolio({
                filters: '#js-filters-full-width',
                loadMore: '#js-loadMore-full-width',
                loadMoreAction: 'click',
                layoutMode: 'mosaic',
                sortToPreventGaps: true,
                defaultFilter: '*',
                animationType: 'fadeOutTop',
                gapHorizontal: 0,
                gapVertical: 0,
                gridAdjustment: 'responsive',
                mediaQueries: [{
                    width: 1500,
                    cols: 5
                }, {
                    width: 1100,
                    cols: 4
                }, {
                    width: 800,
                    cols: 3
                }, {
                    width: 480,
                    cols: 2
                }, {
                    width: 320,
                    cols: 1
                }],
                caption: 'zoom',
                displayType: 'lazyLoading',
                displayTypeSpeed: 100,

                // lightbox
                lightboxDelegate: '.cbp-lightbox',
                lightboxGallery: true,
                lightboxTitleSrc: 'data-title',
                lightboxCounter: '<div class="cbp-popup-lightbox-counter">{{current}} / {{total}}</div>',
            });
            $("#js-loadMore-full-width").on('click', function () {
            })
        }
    };
}();

jQuery(document).ready(function () {
    productIndex.init();
});
